package com.ldw.desensitizer.common;

import lombok.Data;
import java.io.Serializable;

@Data
public class CommonResult<T> implements Serializable {

    private Integer code;

    private String message;

    private T data;

    public CommonResult(T data, Integer code, String message) {
        this.code = code;
        this.message = message;
        this.data = data;
    }
}
